package com.ruoyi.personnel.oa.approve.domain;

import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 查询条件
 */
@Data
public class ApproveCond extends BaseEntity {
    private String associationId;
    /**
     * 类别
     */
    @NotNull(message = "类别不能为空")
    @ApiModelProperty(value = "类别", required = true)
    private String approveType;

    /**
     * 申请人编号
     */
    @NotNull(message = "申请人编号不能为空")
    @ApiModelProperty(value = "申请人编号", required = true)
    private long applicantId;

    /**
     * 审批状态
     * 0-审批中 1-审批未通过 2-审批通过 3-未完成 4-审批完成
     */
    @ApiModelProperty(value = "状态")
    private String approveStatus;
}
